from django import template

register = template.Library()

def realinplaceedit(context):
    return {
            'containers':context['containers'],            
            'changes':context['changes'],
            'MEDIA_URL':context['MEDIA_URL']
           }
register.inclusion_tag("media.html", takes_context=True)(realinplaceedit)